﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Manage/Base.Master" AutoEventWireup="true" CodeBehind="NavList.aspx.cs" Inherits="Exhibition.Manage.NavList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <input type="button" id="btnAdd" onclick="YXQ.Manager.OpenDialog('NavDetail.aspx');" class="bt_wb1" value="添加" />
    <br/>
     <br/>
    <dx:ASPxTreeList ID="treeList" runat="server" Width="100%" AutoGenerateColumns="False">
        <Columns>
            <dx:TreeListDataColumn FieldName="NavName" Caption="栏目名称" VisibleIndex="0"/>
            <dx:TreeListTextColumn Caption="操作" VisibleIndex="1" >
            <DataCellTemplate> 
                <input type="button" id="btnEditor" class="bt_wb1" value="编辑" onclick="YXQ.Manager.OpenDialog('NavDetail.aspx?id=<%# Eval("ID") %>')" /> 
                 <input type="button" id="btnDel" class="bt_wb1" value="删除" onclick="YXQ.Manager.DelNav('<%# Eval("ID") %>')" /> 
            </DataCellTemplate>
        </dx:TreeListTextColumn>


        </Columns>

             <SettingsBehavior ExpandCollapseAction="NodeDblClick"  />

         <Settings GridLines="Both" ShowFooter="true" />

    </dx:ASPxTreeList>
    
</asp:Content>
